﻿using EasyI18n.Api.Infrastructure.DataPersistence.MongoDb.Entities.Bases;
using MongoDB.Driver;

namespace EasyI18n.Api.Infrastructure.DataPersistence.MongoDb;

public interface IDocumentAccessor<T> where T : IMongoDbEntity
{
    public IMongoCollection<T> Collection { get; }
}